package tk.mybatis.springboot.common.message;

/**
 * 前台返回实体对象
 * Created by Administrator on 2016/8/22.
 */
public class ResponseData {
    private int api_code;
    private Object api_data;
    private String api_message;

    public ResponseData(int api_code, String api_message) {
        this.api_code = api_code;
        this.api_message = api_message;
    }

    public ResponseData(int api_code, String api_message, Object api_data) {
        this(api_code, api_message);
        this.api_data = api_data;
    }

    public int getApi_code() {
        return api_code;
    }

    public Object getApi_data() {
        return api_data;
    }

    public String getApi_message() {
        return api_message;
    }
}
